package star.cloud.asme.flowable.processInstance;

import org.flowable.engine.runtime.ProcessInstance;
import org.flowable.task.api.history.HistoricTaskInstance;
import star.cloud.asme.base.dto.Result;
import star.cloud.asme.base.fowable.VO.ProcessInstanceQueryCondition;
import star.cloud.asme.base.fowable.VO.ProcessInstanceVO;
import star.cloud.asme.base.fowable.baseInterface.FlowableBaseService;
import star.cloud.asme.flowable.processInstance.DTO.*;
import star.cloud.asme.flowable.task.DTO.TaskCompleteDTO;
import star.cloud.asme.flowable.task.DTO.TaskDTO;

import java.util.List;

public interface HqProcessInstanceService extends FlowableBaseService<ProcessInstanceQueryCondition, ProcessInstanceVO> {


    Result<ProcessInstance> startProcessInstanceById(StartProcessInstanceParams startProcessInstanceParams);


    Result<?> deleteRuntimeProcessInstance(String processInstanceId, String deleteReason);
}
